﻿<?php

Class User {

	private $uid;
	private $login_id;
	private $email;
	private $type;
	private $create_date;
	private $active;
	private $copmany_id;
	private $expire_date;
	private $firstname;
	private $lastname;
	
	function __construct(){
	}
	
	function setUser($result_set){
		$this->uid = $result_set["uid"];
		$this->login_id = $result_set["login_id"];
		$this->email = $result_set["email"];
		$this->type = $result_set["type"];
		$this->create_date = $result_set["create_date"];
		$this->active = $result_set["active"];
		$this->copmany_id = $result_set["company_id"];
		$this->expire_date = $result_set["expire_date"];
		$this->firstname = $result_set["firstname"];
		$this->lastname = $result_set["lastname"];
	}

	function getUID(){
		return $this->uid;
	}
	
	function setUID($uid){
		$this->uid = $uid;
	}
	
	function getLoginID(){
		return $this->login_id;
	}
	
	function setLoginID($login_id){
		$this->login_id = $login_id;
	}

	function getEmail(){
		return $this->email;
	}
	
	function setEmail($email){
		$this->email = $email;
	}

	function getType(){
		return $this->type;
	}
	
	function setType($type){
		$this->type = $type;
	}

	function getCreateDate(){
		return $this->create_date;
	}
	
	function setCreateDate($create_date){
		$this->create_date = $create_date;
	}

	function getActive(){
		return $this->active;
	}
	
	function setActive($active){
		$this->active = $active;
	}	

	function getCompanyID(){
		return $this->copmany_id;
	}
	
	function setCompanyID($copmany_id){
		$this->copmany_id = $copmany_id;
	}	
	
	function getExpireDate(){
		return $this->expire_date;
	}
	
	function setExpireDate($expire_date){
		$this->expire_date = $expire_date;
	}
	
	
	function getFirstname(){
		return $this->firstname;
	}
	
	function setFirstname($firstname){
		$this->firstname = $firstname;
	}
	
	function getLastname(){
		return $this->lastname;
	}
	
	function setLastname($lastname){
		$this->lastname = $lastname;
	}
}

?>